package io.aircraft.modules.job.dto;

import io.aircraft.common.constant.Constant;
import io.aircraft.common.utils.DateUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value = "请求任务")
public class VwPostWcsDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "请求pk")
    private String requestPk;

    @ApiModelProperty(value = "托盘条码")
    private String contNo;

    @ApiModelProperty(value = "托盘类型")
    private String contType;

    @ApiModelProperty(value = "优先级")
    private String trkPrty;

    @ApiModelProperty(value = "指令类型")
    private String trkType;

    @ApiModelProperty(value = "来源位置")
    private String frmPos;

    @ApiModelProperty(value = "目标位置")
    private String toPos;

    @ApiModelProperty(value = "是否空框")
    private String isFull;

    @ApiModelProperty(value = "组号")
    private String groupNo;

    @ApiModelProperty(value = "客户端编号")
    private String clientCode = Constant.ClientCode.WMS.getCode();

    @ApiModelProperty(value = "请求时间")
    private String reqTime = DateUtils.format(new Date(), DateUtils.DATE_TIME_PATTERN);
}
